#include "CalcDispatcher.h"

CalcDispathcer::CalcDispathcer(): TaskScheduler() { }

CalcDispathcer::~CalcDispathcer() { }

Job& CalcDispathcer::duplicateJob(const Job& jobToDuplicate) const {
	return *(new CalcJob(jobToDuplicate));
}

Job& CalcDispathcer::createJob(const unsigned int startTime, const unsigned int length, const int priority) const {
	return *(new CalcJob(startTime, length, priority));
}
